#ifndef __MQ_WORKER_HPP__
#define __MQ_WORKER_HPP__

#include "muduo/net/EventLoopThread.h"
#include "../mq_comm/mq_threadpool.hpp"
#include <iostream>
#include <memory>

namespace mq
{
    class AsyncWorker
    {
    public:
        using ptr=std::shared_ptr<AsyncWorker>;
        muduo::net::EventLoopThread loopthread;//EventLoop循环线程
        ThreadPool pool;//工作线程池
    };

}

#endif